<?php
$id=$_GET["id"];
if($id==null){$id="1359741";}
$url="https://fx2.service.kugou.com/video/pc/live/pull/mutiline/streamaddr?std_rid=".$id."&std_plat=7&std_imei=&std_kid=0&streamType=1-2-5&ua=fx-flash&targetLiveTypes=1-5-6&version=1.0&supportEncryptMode=1";
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
curl_setopt($ch, CURLOPT_USERAGENT, 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.25 Safari/537.36 Core/1.70.3775.400 QQBrowser/10.6.4208.400' );
$info = curl_exec($ch);
curl_close($ch);
$info=str_replace("https","http",$info);
$info=str_replace("http","url=http",$info);
preg_match_all('/url=http:(.*?)"/i',$info,$m);
$ts=$m[1][0];
$live="http:".$ts."";
header('location:'.$live);
?>


KG【玄幻影院】,http://www.baidu.com/kugou.php?id=2530943
KG【奇幻影院】,http://www.baidu.com/kugou.php?id=4796942
KG【动作电影】,http://www.baidu.com/kugou.php?id=3547025
KG【高分电影】,http://www.baidu.com/kugou.php?id=1412425
KG【喜剧电影】,http://www.baidu.com/kugou.php?id=4797294
KG【经典喜剧】,http://www.baidu.com/kugou.php?id=4750613
KG【经典影视】,http://www.baidu.com/kugou.php?id=1241678
KG【经典港片】,http://www.baidu.com/kugou.php?id=1016536
KG【沈腾黄渤】,http://www.baidu.com/kugou.php?id=4856701
KG【相声小品】,http://www.baidu.com/kugou.php?id=1857593
KG【僵尸剧】,http://www.baidu.com/kugou.php?id=1521484
KG【古装剧】,http://www.baidu.com/kugou.php?id=1359741
KG【武侠剧】,http://www.baidu.com/kugou.php?id=1519563
